package com.gxa.weixing.portal.mapper;

import com.gxa.weixing.core.pojo.ExchangeRecord;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author ChenJ
 * @date 2022/01/07 21:32
 **/
public interface ExchangeRecordMapper extends Mapper<ExchangeRecord> {

    /**
     *  获取用户使用金币兑换记录
     * @param id 用户编号
     * @param status 兑换状态
     * @return
     */
    List<Map<String,Object>> getExchangeRecord(Long id,Integer status);

}
